def spliter(key):
    return hash(key)

def map():
    print "map"

import time

def reduce():
    time.sleep(2)
    print "reduce"